﻿using BonjourQuotation.ObjectModel.AccountData;
using BonjourQuotation.ObjectModel.BusinessData;
using BonjourQuotation.ObjectModel.ErrorData;
using BonjourQuotation.ObjectModel.OptionalData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BonjourQuotation.DataAccess.Repositories
{
    public interface IOptionalRepository : IDisposable
    {
        ErrorBInfo CreateOptional(OptionalDetailsBData OptionalData);
        ErrorBInfo CreateOptionalDetailData(OptionalDetailsBData OptionalData);
        ManageOptionalsGridBData LoadAllOptionals(int PageNumber);
        ManageOptionalsGridBData LoadSearchedOptionals(ManageOptionalsGridBData Data);
        OptionalDetailsBData LoadOptionalDetailsByID(int OptionalID);
        ErrorBInfo SaveOptionalsGridData(ManageOptionalsGridBData Data);
        ErrorBInfo SaveOptionalDetailsData(OptionalDetailsBData Data);
    }
}
